package com.yic.module.mes.convert.processRoute;

import java.util.*;

import com.yic.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import com.yic.module.mes.controller.admin.processRoute.vo.*;
import com.yic.module.mes.dal.dataobject.processRoute.ProcessRouteDO;

/**
 * 工艺路线 Convert
 *
 * @author 系统管理员
 */
@Mapper
public interface ProcessRouteConvert {

    ProcessRouteConvert INSTANCE = Mappers.getMapper(ProcessRouteConvert.class);

    ProcessRouteDO convert(ProcessRouteCreateReqVO bean);

    ProcessRouteDO convert(ProcessRouteUpdateReqVO bean);

    ProcessRouteRespVO convert(ProcessRouteDO bean);

    List<ProcessRouteRespVO> convertList(List<ProcessRouteDO> list);

    PageResult<ProcessRouteRespVO> convertPage(PageResult<ProcessRouteDO> page);

    List<ProcessRouteExcelVO> convertList02(List<ProcessRouteDO> list);

    List<ProcessRouteDetailRespVo> convertList03(List<ProcessRouteDO> processRouteDOS);

}
